#pragma once
#include "Player.h"
class PlayerController;

class LocalPlayer : public Player
{
public:
	LocalPlayer();
	~LocalPlayer();
	
	virtual void Update(float elapsedTime);

	void Rotate(float x, float y);
	void SetMoveDir(const Vector3& dir);
	void Jump();

	virtual void setPosition(const Vector3& v);
	virtual void AddToMap(Scene* scene);
	virtual void RemoveFromMap();

private:
	void Move(float elapsedTime);

private:
	Vector3 mMoveDir;
	Vector3 mVelocity;
	PlayerController* mController;
};
